package com.briup.oagg.model.web.vm;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.checkerframework.checker.units.qual.A;

import java.io.Serializable;

/**
 * 回归训练评估结果
 *
 * @author briup
 */
@ApiModel(description = "回归训练评估结果")
@Data
public class RegressionTrainResultVM{
    @ApiModelProperty("训练编号")
    private String trainId;
    @ApiModelProperty("可解释方差")
    private double explainedVarianceScore;
    @ApiModelProperty("平均绝对误差")
    private Double meanAbsoluteError;
    @ApiModelProperty("平均平方误差")
    private Double meanSquaredError;
    @ApiModelProperty("R2;常用于评价回归模型优劣程度的指标。")
    private Double r2Score;
}
